package com.qk.service;

import com.qk.common.PageResult;
import com.qk.entity.Course;

import java.util.List;

/**
 * ClassName: CourseService
 * Package: com.qk.service
 * Description:
 *
 * @Author zt
 * @Create 2025/7/28 23:43
 * @Version 1.0
 */
public interface CourseService {
    PageResult<Course> listCourses(String name, Integer subject, Integer target, Integer page, Integer pageSize);

    void add(Course course);

    void delete(Integer id);

    Course getById(Integer id);

    void update(Course course);

    List<Course> list();

   List< Course> listBySubject(Integer subject);
}
